package hxg.testdemo;

/**
 * @author HeXiangGuang
 * @create 2021-09-15 22:47
 */
public class Test {
    public static void main(String[] args) {
        Horst h1 = null;
        Horst h2 = null;
        h1 = new Horst();
        h1.name = "xiaobai";
        System.out.println(h1.name);
        h2 = new Horst();
        h2 = h1;
        h2.name = "xiaohei";
        System.out.println(h1.name);
        System.out.println(h2.name);
    }
}
